package com.itheima.service;

import com.itheima.pojo.Permission;
import com.itheima.pojo.Role;
import com.itheima.pojo.User;

import java.util.List;

public interface UserService {
    User find();

    User findUserByUsername(String username);

    List<Role> findRoleListByUserId(Long userId);

    List<Permission> findPermissionByRoleId(Integer roleId);
}
